#ifndef _SOUND_H
#define _SOUND_H

#include <dsound.h>
#include "dsutil.h"
#include <iostream>
using namespace std;

class Sound
{
private:
	CSoundManager *_sound;

public:
	Sound();
	Sound &operator = (Sound idsound);
	int Init_DirectSound(HWND hwnd);
	CSound *LoadSound(LPTSTR  ifileName);
	void PlaySound(CSound *sound);
	void LoopSound(CSound *sound);
	void StopSound(CSound *sound);

	~Sound();
};

#endif